@(title: String, toolbar: String = "default")(content: Html)

<!DOCTYPE html>

<html>
    <head>
        <title>Kiry - @title</title>
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/bootstrap.min.css")" />
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/flat-ui.css")" />
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")">
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/bootstrap-responsive.min.css")" />
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/tagmanager.css")" />
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/pickadate.01.default.css")" />
        <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
        <link href='http://fonts.googleapis.com/css?family=Patrick+Hand+SC' rel='stylesheet' type='text/css'>

        <script src="@routes.Assets.at("javascripts/jquery-1.9.0.min.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/bootstrap.min.js")" type="text/javascript"></script>
        <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js"></script>
        <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.slide.js"></script>
        <script src="@routes.Assets.at("javascripts/jquery-ui.min.js")"></script>
        <script src="@routes.Assets.at("javascripts/tagmanager.js")"></script>
        <script src="@routes.Assets.at("javascripts/jquery.lazyload.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/pickadate.legacy.min.js")" type="text/javascript"></script>
        <script src="@routes.Assets.at("javascripts/sly.min.js")" type="text/javascript"></script>
        <script>
            $(document).ready(function() {
                $("#main-content").css('left', '0px');
            });

            submitform = function(id) {
                $("#" + id).submit();
            }

            showLoading = function() {
                $(".loading-wrap").show();
            }

            hideLoading = function() {
                $(".loading-wrap").hide();
            }
        </script>
    </head>
    <body>
        <!-- Barre de navigation -->
        <div class="navbar navbar-fixed-top navbar-inverse">
            <div class="navbar-inner">
                <div class="container">
                    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="brand" href="@routes.Kiry.index(0)">
                        <span class="surround-kiry-logo">
                            <img src="@routes.Assets.at("images/img-transparent.gif")"
                                 style="background-image: url(@routes.Assets.at("images/game-48.png"))"></span>
                        <span class="kiry-logo">Kiry</span>
                    </a>
                    <div class="nav-collapse collapse">
                        <ul class="nav">
                            @views.html.defaulttoolbar(toolbar)
                        </ul>
                        <ul class="nav pull-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <span class="fui-settings-24"> @User.findByEmail(session.get("email")).name</span>
                                </a>
                                <ul>
                                    <li><a href="">Coucou</a></li>
                                    <li><a href="">Coucou</a></li>
                                    <li><a href="">Coucou</a></li>
                                </ul>
                            <li><a href="@routes.Application.logout">Déconnexion</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="loading-wrap">
            <div class="triangle1"></div>
            <div class="triangle2"></div>
            <div class="triangle3"></div>
        </div>
        <div id="main-content">
            @content
        </div>
    </body>
</html>
